//
//  JKStatusToolBar.swift
//  新浪微博
//
//  Created by Jack.Lin on 16/7/6.
//  Copyright © 2016年 Jack.Lin. All rights reserved.
//

import UIKit

class JKStatusToolBar: UIView {

    var viewModel: JKStatusViewModel? {
        didSet {
//            retweetedButton.setTitle("\(viewModel?.status.reposts_count)", for: [])
//            commentButton.setTitle("\(viewModel?.status.comments_count)", for: [])
//            likeButton.setTitle("\(viewModel?.status.attitudes_count)", for: [])
            retweetedButton.setTitle(viewModel?.retweetedStr, for: [])
            commentButton.setTitle(viewModel?.commentStr, for: [])
            likeButton.setTitle(viewModel?.likeStr, for: [])

        }
    }
    
    @IBOutlet weak var retweetedButton: UIButton!
    
    @IBOutlet weak var commentButton: UIButton!
    
    @IBOutlet weak var likeButton: UIButton!

}
